package com.zjc.yohoshop.mvp.contract;

import com.zjc.lib_core.mvp.model.IModel;
import com.zjc.lib_core.mvp.view.IView;
import com.zjc.yohoshop.bean.AddressListEntity;
import com.zjc.yohoshop.bean.CarListEntity;
import com.zjc.yohoshop.bean.CouponListEntity;

import io.reactivex.Observable;

public interface AffirmOrderFragmentContract {
    interface AffirmOrderFragmentIView extends IView {
        void addressListSuccess(AddressListEntity entity);
        void couponListSuccess(CouponListEntity entity);
        void carListSuccess(CarListEntity entity);
    }
    interface AffirmOrderFragmentIModel extends IModel {
        Observable<AddressListEntity> address_list(String request);
        Observable<CouponListEntity> coupon_list(String request);
        Observable<CarListEntity> car_list(String request);
    }
}
